import { IA } from './a.id';
import { IB } from './b';

export { IA };
export class A implements IA {
    static id = IA;
    id = IA;
    constructor(
        public base: string,
        @IB public b: IB,
    ) {}

    toa(x) {
        return 'a:' + x;
    }

    sync() {
        console.log('A:sync');
        this.b.tob('from a: sync');
    }
}
